/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package GraphPackage;

import java.awt.Point;

/**
 *
 * @author Heather
 */
public class Edge {
  private Point point1;
  private Point point2;
  private int thickness = 1;

  public Edge ()
  {
    
  }

  public Edge(Point p1, Point p2)
  {
    point1 = p1;
    point2 = p2;
  }

  /**
   * @return the point1
   */
  public Point getPoint1()
  {
    return point1;
  }

  /**
   * @param point1 the point1 to set
   */
  public void setPoint1(Point point1)
  {
    this.point1 = point1;
  }

  /**
   * @return the point2
   */
  public Point getPoint2()
  {
    return point2;
  }

  /**
   * @param point2 the point2 to set
   */
  public void setPoint2(Point point2)
  {
    this.point2 = point2;
  }

  /**
   * @return the thickness
   */
  public int getThickness()
  {
    return thickness;
  }

  /**
   * @param thickness the thickness to set
   */
  public void setThickness(int thickness)
  {
    this.thickness = thickness;
  }
  
}
